extends Sprite2D
class_name Block

func init(pos, colorFrame):
	position = pos
	frame = colorFrame
	

func getData():
	var data = {
		"position": [position.x, position.y],
		"color": frame
	}
	return data
	

